package com.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

@Data
public class PatientRecords {

  private Long recordsId;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp recordsTime;
  private String recordType;
  private String infect;
  private String message;
  private String mainSuit;
  private String docterSuggest;
  private String hospital;
  private Long personalRecordsId;
  private Long recordsNumber;
  private String remarks ;
  private SeeDoctor seeDoctor;//一个病历表对应一个诊断表





}
